package net.lab1024.sa.admin.module.flowable.demo;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.ExecutionListener;
import org.flowable.engine.delegate.JavaDelegate;

@Slf4j
public class ExecutionTask implements ExecutionListener {

    @Override
    public void notify(DelegateExecution execution) {
        log.info("demo = {}", execution.getVariable("demo"));
        log.info("ExecutionTask");
    }
}
